package com.borya.model.db;

/**
 * project :ka_meng
 * 
 * @author Administrator
 * 
 */
public class Message {

	private int id;
	private String msgId;
	private int msgType;
	private String sender;
	private String receiver;
	private long creatTime;
	private long expTime;
	private String content;

	public int getId() {
		return id;
	}

	public int getMsgType() {
		return msgType;
	}

	public void setMsgType(int msgType) {
		this.msgType = msgType;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public long getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(long creatTime) {
		this.creatTime = creatTime;
	}

	public long getExpTime() {
		return expTime;
	}

	public void setExpTime(long expTime) {
		this.expTime = expTime;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String toString() {
		return "[id=" + id + ", msgId=" + msgId + ", msgType="
				+ msgType + ", sender=" + sender + ", creatTime=" + creatTime
				+ ", receiver=" + receiver + ", expTime=" + expTime
				+ ", content=" + content + "]";
	}

	public interface MessageType {
	 	/** 系统消息**/
	 	int SYS = 600;
	 	/** 业务消息**/
	 	int BUSINESS = 200;
	 	/** 账户消息**/
	 	int ACCOUNT = 300;
	 	/** 充值(代充)消息**/
	 	int RECHARGE = 400;
	 	/*** OMC发布活动 ***/
	 	int ACTIVITY = 500;
	 	/*** 推广 ***/
	 	int POPULARIZE = 700;
	 	/**欢迎**/
	 	int WELCOME = 800;
	 }
}